
package cn.bnet.sag.service.fax;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import cn.bnet.sag.service.common.Header;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the cn.bnet.sag.service.fax package. 
 * <p>An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema 
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _Query_QNAME = new QName("http://fax.service.sag.bnet.cn/", "query");
    private final static QName _GetState_QNAME = new QName("http://fax.service.sag.bnet.cn/", "getState");
    private final static QName _Send_QNAME = new QName("http://fax.service.sag.bnet.cn/", "send");
    private final static QName _PolicyException_QNAME = new QName("http://fax.service.sag.bnet.cn/", "PolicyException");
    private final static QName _GetAttachmentsResponse_QNAME = new QName("http://fax.service.sag.bnet.cn/", "getAttachmentsResponse");
    private final static QName _GetAttachments_QNAME = new QName("http://fax.service.sag.bnet.cn/", "getAttachments");
    private final static QName _SendResponse_QNAME = new QName("http://fax.service.sag.bnet.cn/", "sendResponse");
    private final static QName _Header_QNAME = new QName("http://fax.service.sag.bnet.cn/", "header");
    private final static QName _QueryResponse_QNAME = new QName("http://fax.service.sag.bnet.cn/", "queryResponse");
    private final static QName _ReceiveResponse_QNAME = new QName("http://fax.service.sag.bnet.cn/", "receiveResponse");
    private final static QName _Receive_QNAME = new QName("http://fax.service.sag.bnet.cn/", "receive");
    private final static QName _ServiceException_QNAME = new QName("http://fax.service.sag.bnet.cn/", "ServiceException");
    private final static QName _GetStateResponse_QNAME = new QName("http://fax.service.sag.bnet.cn/", "getStateResponse");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: cn.bnet.sag.service.fax
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link GetState }
     * 
     */
    public GetState createGetState() {
        return new GetState();
    }

    /**
     * Create an instance of {@link Send }
     * 
     */
    public Send createSend() {
        return new Send();
    }

    /**
     * Create an instance of {@link Query }
     * 
     */
    public Query createQuery() {
        return new Query();
    }

    /**
     * Create an instance of {@link QueryResponse }
     * 
     */
    public QueryResponse createQueryResponse() {
        return new QueryResponse();
    }

    /**
     * Create an instance of {@link GetAttachmentsResponse }
     * 
     */
    public GetAttachmentsResponse createGetAttachmentsResponse() {
        return new GetAttachmentsResponse();
    }

    /**
     * Create an instance of {@link PolicyException }
     * 
     */
    public PolicyException createPolicyException() {
        return new PolicyException();
    }

    /**
     * Create an instance of {@link SendResponse }
     * 
     */
    public SendResponse createSendResponse() {
        return new SendResponse();
    }

    /**
     * Create an instance of {@link GetAttachments }
     * 
     */
    public GetAttachments createGetAttachments() {
        return new GetAttachments();
    }

    /**
     * Create an instance of {@link ReceiveResponse }
     * 
     */
    public ReceiveResponse createReceiveResponse() {
        return new ReceiveResponse();
    }

    /**
     * Create an instance of {@link GetStateResponse }
     * 
     */
    public GetStateResponse createGetStateResponse() {
        return new GetStateResponse();
    }

    /**
     * Create an instance of {@link Receive }
     * 
     */
    public Receive createReceive() {
        return new Receive();
    }

    /**
     * Create an instance of {@link ServiceException }
     * 
     */
    public ServiceException createServiceException() {
        return new ServiceException();
    }

    /**
     * Create an instance of {@link DeliveryState }
     * 
     */
    public DeliveryState createDeliveryState() {
        return new DeliveryState();
    }

    /**
     * Create an instance of {@link FaxMessage }
     * 
     */
    public FaxMessage createFaxMessage() {
        return new FaxMessage();
    }

    /**
     * Create an instance of {@link QueryResult }
     * 
     */
    public QueryResult createQueryResult() {
        return new QueryResult();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Query }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "query")
    public JAXBElement<Query> createQuery(Query value) {
        return new JAXBElement<Query>(_Query_QNAME, Query.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetState }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "getState")
    public JAXBElement<GetState> createGetState(GetState value) {
        return new JAXBElement<GetState>(_GetState_QNAME, GetState.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Send }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "send")
    public JAXBElement<Send> createSend(Send value) {
        return new JAXBElement<Send>(_Send_QNAME, Send.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link PolicyException }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "PolicyException")
    public JAXBElement<PolicyException> createPolicyException(PolicyException value) {
        return new JAXBElement<PolicyException>(_PolicyException_QNAME, PolicyException.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetAttachmentsResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "getAttachmentsResponse")
    public JAXBElement<GetAttachmentsResponse> createGetAttachmentsResponse(GetAttachmentsResponse value) {
        return new JAXBElement<GetAttachmentsResponse>(_GetAttachmentsResponse_QNAME, GetAttachmentsResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetAttachments }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "getAttachments")
    public JAXBElement<GetAttachments> createGetAttachments(GetAttachments value) {
        return new JAXBElement<GetAttachments>(_GetAttachments_QNAME, GetAttachments.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link SendResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "sendResponse")
    public JAXBElement<SendResponse> createSendResponse(SendResponse value) {
        return new JAXBElement<SendResponse>(_SendResponse_QNAME, SendResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Header }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "header")
    public JAXBElement<Header> createHeader(Header value) {
        return new JAXBElement<Header>(_Header_QNAME, Header.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link QueryResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "queryResponse")
    public JAXBElement<QueryResponse> createQueryResponse(QueryResponse value) {
        return new JAXBElement<QueryResponse>(_QueryResponse_QNAME, QueryResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link ReceiveResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "receiveResponse")
    public JAXBElement<ReceiveResponse> createReceiveResponse(ReceiveResponse value) {
        return new JAXBElement<ReceiveResponse>(_ReceiveResponse_QNAME, ReceiveResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Receive }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "receive")
    public JAXBElement<Receive> createReceive(Receive value) {
        return new JAXBElement<Receive>(_Receive_QNAME, Receive.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link ServiceException }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "ServiceException")
    public JAXBElement<ServiceException> createServiceException(ServiceException value) {
        return new JAXBElement<ServiceException>(_ServiceException_QNAME, ServiceException.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetStateResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://fax.service.sag.bnet.cn/", name = "getStateResponse")
    public JAXBElement<GetStateResponse> createGetStateResponse(GetStateResponse value) {
        return new JAXBElement<GetStateResponse>(_GetStateResponse_QNAME, GetStateResponse.class, null, value);
    }

}
